<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="cutProcessList.title"/></title>
    <meta name="heading" content="<fmt:message key='formPantDetail.heading'/>"/>
    <meta name="menu" content="RoleAdminCut"/>

</head>
<div id="help">
    <h2>
        <a href="<c:url value='helpFormPantDetailReview.html?decorate=false'/>"
           title="Help material purchase"
           onclick="Modalbox.show(this.href, {title: this.title, width: 600}); return false;">
               <fmt:message key="help"/>
        </a>
    </h2>
</div>
<s:form id=" pantDetailForm" action="savePantDetail" method="post" validate="true">
     <fieldset>
        <legend><fmt:message key="cutDetailForm.datasSelected"/></legend>
        <s:hidden key="pantDetail.id" value="%{pantDetail.id}"/>
    
            <table class="tableGrey" id="currentCut" >
            <thead>
                <tr>
                    <th class="hidden"/>
                    <th><fmt:message key="pantDetail.storageCut.datas"/></th>
                    <th><fmt:message key="pantDetail.quantity"/></th>
                    <th><fmt:message key="pantDetail.priceXclothes"/></th>
                    <th class="hidden"/>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td><s:property id="pantDetail.storageCut.datas" value="pantDetail.storageCut.datas"/></td>
                    <td><s:property id="pantDetail.quantity" value="pantDetail.quantity"/></td>
                    <td><s:property id="pantDetail.priceXclothes" value="pantDetail.priceXclothes"/></td>
                </tr>
            </tbody>
            </table>
    </fieldset>
    <fieldset>
        <legend><fmt:message key="cutDetailForm.datasEditables"/></legend>
         <table>
            <tr>
                <td><s:textfield key="pantDetail.priceXclothes" required="true" cssClass="text medium"/></td>
                <td><s:textfield key="pantDetail.quantityFail" required="true" cssClass="text medium"/></td>
                <td><s:textfield key="pantDetail.priceXclotheFail" required="true" cssClass="text medium"/></td>
            </tr>
         </table>
    </fieldset>

    <li class="buttonBar bottom">
        <s:submit cssClass="button" method="saveReviewPantDetail" key="button.save" theme="simple"/>
        <s:submit cssClass="button" method="cancel" key="button.cancel" theme="simple"/>
    </li>
    </fieldset>
</s:form>

